<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="common/taglibs.jsp" %>    
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8" />
	<title>首页</title>
	<link href="${contextPath }/acss/index.css" rel="stylesheet" />
    <link href="${contextPath }/acss/common.css" rel="stylesheet" />
    <script src="${contextPath }/js/jquery-1.2.6.pack.js"></script>
    <script src="${contextPath }/js/banner.js"></script>
</head>

<body>
<%@include file="common/header.jsp" %>

<!--内容-->
    <div class="container" >   
    
    
    
    	<div class="hyzx">
            <div class="messInfo">
                <span>行业咨询</span>
                <label>客观、真实、权威，记录与分析各行业实体的档案数据</label>


            </div>
            <div class="part_left">
                <!--轮播图的位置 -->
                <div id="banner">
                    <ul>
                        <li class="on" indexs='1'></li>
                        <li indexs='2'></li>
                    </ul>
                    <div id="banner_list">
						<c:forEach items="${infoList.data }" var="item" begin="0" end="1">
                        <a href="#" target="_blank">
                            <img src="${contextPath}/${item.infoLogopath}" title="" alt="" width="585" height="310"></a>
                        </c:forEach>
                    </div>
                </div>
                <!--轮播图 结束标签-->
                
                <!-- 资讯列表开始 -->
	 			<c:forEach items="${infoList.data }" var="item" varStatus="status" begin="2" end="4">
	            <div class="Trademoving">
	                <div class="imageinfo">
	                    <img src="${contextPath}/${item.infoLogopath}" width="130px" height="86px"/>
	                </div>
	                <div class="txtmess">
	
	                    <span class="usertype">${my:getInfoTypeName(item.infoType) }</span>
	                    <strong><a href="${contextPath }/info/detail.htm?id=${item.infoId}">${item.infoTitle }</a></strong><br>
	                    <label>
	                    ${item.infoAbstract }</label>
	                </div>
	                <div class="spanmess">
	                	<c:set var="tags" value="${fn:split(item.infoTag,',') }"> </c:set>
	                	<c:forEach items="${tags}" var="item2">
	                    <label>${ item2}</label>
	                    </c:forEach>
	                </div>
	            </div>
	            </c:forEach>
	 			<!-- 资讯列表结束 -->
                <div class="moremess"><a href="${contextPath }/info/list.htm">更多>></a></div>
            </div>
            
            
            <div class="part_right">
                <label class="zbkx">中标快讯</label>
                <div class="mess_content">
                
                	<!-- 项目列表开始 -->
                	<c:forEach items="${bidList.data }" var="item"  begin="0" end="4">
		                <table class="bidinfo" cellpadding="0" cellspacing="0" border="0">
		                    <tr>
		                        <td colspan="2"><strong><a href="#">${item.bidName }</a></strong></td>
		                    </tr>
		                    <tr>
		                        <td>开标时间：<fmt:formatDate value="${item.bidOpentime }" pattern="yyyy年MM月dd日"/></td>
		                        <td>招标单位：${item.bidPurchaser }</td>
		
		                    </tr>
		                    <tr>
		                    	<td colspan="2">招标代理：${item.bidAgent }</td>
		                    </tr>
                           <tr>
                            <td>中标单位：${item.bidConsumer }</td>
                            <td>中标金额：${item.bidMoney }元</td>

	                        </tr>        
	                        <tr>
	                            <td colspan="2">评标专家：${item.bidPerson }</td>
	                        </tr>
		                </table>
		            </c:forEach>
		            <!-- 项目列表结束 -->
                   
                </div>
                <div class="moremess"><a href="${contextPath }/bid/prolist.htm">更多>></a></div>
            </div>
        </div>
    </div>
    
    
    




    <!--中部统计数据开始-->
    <!--产业档案-->
    <div class="cyda">
        <div class="detail_mess">
            <div class="messInfo">
                <span>产业档案</span>
                <label>客观、真实、权威，记录与分析各行业实体的档案数据</label>
            </div>
            <div class="da_info">


                <div class="part_introduce">
                    <div class="photo_hykh">
                        <img src="${contextPath}/images/hykh.png" width="146" height="146" />
                    </div>
                    <div class="part_list">
                        <span>行业客户</span>
                        <ul>
                        	<c:forEach items="${consumerList.data }" var="item" begin="0" end="2">
                            <li>
                            	
                            	<a href="${contextPath }/consumer/baseInfo.htm?id=${item.conId}">${item.conName }</a>
                            	<mytag:restotal id="${item.conId }"></mytag:restotal>
                            </li>
                            </c:forEach>
                        </ul>
                        <a class="searchinfo" href="${contextPath }/consumer/list.htm">点击查询</a>
                    </div>
                </div>
             
                
                <div class="part_introduce">
                    <div class="photo_hykh">
                        <img src="${contextPath}/images/zjtd.png" width="146" height="146" />
                    </div>
                    <div class="part_list">
                        <span>专家团队</span>
                        <ul class="zjdt_ul">
                            <c:forEach items="${expertList.data }" var="item" begin="0" end="5">
                            <li>
                            <a href="${contextPath }/expert/baseInfo.htm?id=${item.expertId}">${item.expertName }</a>
                            <mytag:restotal id="${item.expertId }"></mytag:restotal>
                            </li>
                            </c:forEach>
                        </ul>
                        <a class="searchinfo" href="${contextPath }/consult/list.htm">点击查询</a>
                    </div>
                </div>
                
                <div class="part_introduce">
                    <div class="photo_hykh">
                        <img src="${contextPath}/images/zbdl.png" width="146" height="146" />
                    </div>
                    <div class="part_list">
                        <span>招标代理</span>
                        <ul>
                            <c:forEach items="${agencyList.data }" var="item" begin="0" end="2">
                            <li>
                            	<a href="${contextPath }/agency/baseInfo.htm?id=${item.agId}">${item.agName }</a>
                            	<mytag:restotal id="${item.agId }"></mytag:restotal>
                            </li>
                            </c:forEach>
                        </ul>
                        <a class="searchinfo" href="${contextPath }/agency/list.htm">点击查询</a>
                    </div>
                </div>
                
                <div class="part_introduce">
                    <div class="photo_hykh">
                        <img src="${contextPath}/images/zxjg.png" width="146" height="146" />
                    </div>
                    <div class="part_list">
                        <span>咨询机构</span>
                        <ul>
                        <c:forEach items="${consultList.data }" var="item" begin="0" end="2">
                            <li>
                            	<a href="${contextPath }/consult/baseInfo.htm?id=${item.consultId}">${item.consultName }</a>
                            	<mytag:restotal id="${item.consultId }"></mytag:restotal>
                            </li>
                            </c:forEach>
                        </ul>
                        <a class="searchinfo" href="${contextPath }/consult/list.htm">点击查询</a>
                    </div>
                </div>
                          <div class="part_introduce">
                    <div class="photo_hykh">
                        <img src="${contextPath}/images/jcs.png" width="146" height="146" />
                    </div>
                    <div class="part_list">
                        <span>集成商</span>
                        <ul>
                            <c:forEach items="${integratorList.data }" var="item" begin="0" end="2">
                            <li>
                            	<a href="${contextPath }/integrator/baseInfo.htm?id=${item.inteId}">${item.inteName }</a>
                            	<mytag:restotal id="${item.inteId }"></mytag:restotal>
                            </li>
                            </c:forEach>
                        </ul>
                        <a class="searchinfo" href="${contextPath }/integrator/list.htm">点击查询</a>
                    </div>
                </div>
                <div class="part_introduce">
                    <div class="photo_hykh">
                        <img src="${contextPath}/images/gcjl.png" width="146" height="146" />
                    </div>
                    <div class="part_list">
                        <span>工程监理</span>
                        <ul>
                            <c:forEach items="${supervisionList.data }" var="item" begin="0" end="2">
                            <li>
                            	<a href="${contextPath }/supervision/baseInfo.htm?id=${item.supId}">${item.supName }</a>
                            	<mytag:restotal id="${item.supId }"></mytag:restotal>
                            </li>
                            </c:forEach>
                        </ul>
                        <a class="searchinfo" href="${contextPath }/supervision/list.htm">点击查询</a>
                    </div>
                </div>
                
      
            </div>



        </div>

    </div>
    <!--中部统计数据结束 -->
    
    
    <!--解决方案 开始-->
    <div class="soluteInfo">
                   <div class="messInfo">
                <span>方案中心</span>
                <label>客观、真实、权威，记录与分析各行业实体的档案数据</label>
            </div>

        <div class="detail_solute">
        
        	<c:forEach items="${projectList.data }" var="item" varStatus="status">
        	<c:if test="${status.index <8 }">
        		<div class="productlist">
	                <div class="pro_image">
	                    <img src="${contextPath}/${item.projLogopath}" width="260" height="200" />
	                    <span class="title">${item.projAbstract }</span>
	                </div>
	                <div class="pro_fontinfo">${item.projTitle }</div>
	            </div>
	        </c:if>    
            </c:forEach>
                
            

        </div>

    </div>
    <!--解决方案 结束-->
    
    <script>
    	$(function(){
   
    		//最新产品展示
            $(".detail_solute .productlist").hover(function () {
                console.log("1");
                //$(this).find(".shine").stop();
                //$(this).find(".shine").css("background-position", "-100px 0");
                //$(this).find(".shine").animate({ backgroundPosition: '-400px 0' }, "fast");
                $(this).find(".title").stop().animate({ bottom: '0px' }, { queue: false }, "fast");
            }, function () {
                $(this).find(".title").stop().animate({ bottom: '-150px' }, { queue: false }, "fast");
            });

            $(".da_info .part_introduce .part_list ul li a").hover(function () {
            		    var index = $(this).index(this);
            		    $this = $(this);
            		    $this.next("div").css("top", $this.offset().top - 145);
            		    $this.next("div").css("left", $this.offset().left - 55);
            		    $this.next("div").find('.bottomjiao').css("background-position-x", "90px");



            		    if ($this.next("div").css("display") == "none") {
            		    	$this.next("div").show();
            		    }
            		},function () {

            		    $(this).next('div').hide();

            		}
           );
    	});
    </script>


<%@include file="common/footer.jsp" %>
</body>

</html>